Drop the ref on the action muxer in finalize, and also make sure
shutdown() tears down the muxer setup done in startup().
When GtkApplication adds itself to a muxer, it causes the muxer to take
a ref on the GtkApplication. This has to be undone in shutdown() to make
sure the GtkApplication doesn't end up holding a ref on itself.
https://bugzilla.gnome.org/show_bug.cgi?id=730383
gtk_application_impl_shutdown (application->priv->impl);
g_clear_object (&application->priv->impl);
+ gtk_action_muxer_remove (application->priv->muxer, "app");
+
/* Keep this section in sync with gtk_main() */
/* Try storing all clipboard data we have */
g_clear_object (&application->priv->app_menu);
g_clear_object (&application->priv->menubar);
+ g_clear_object (&application->priv->muxer);
accels_finalize (&application->priv->accels);